<%@page import="Model.Supplier.SupplierList"%>
<%@page import="Model.User.UserList"%>
<%@page import="RssEasy.Core.CookieHelper"%>
<%
 CookieHelper cookie = new CookieHelper(request, response);
 SupplierList sup = new SupplierList(pageContext);
 SupplierList su = new SupplierList(pageContext);
 su.keyvalue("sort",1);
 su.remove("signtoken");
 if(sup.select().where("myid=?",cookie.Get("myid")).get_first_rows())
 {
   su.update().where("myid=?",cookie.Get("myid")).submit();
 }else{
 su.append().submit();
}
%>